package com.cmc.cloud.cmclink.doc.vo.attachmenttypevo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.cmes.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * {table.classComment}分页 Request VO
 * 
 * @author codegen
 */
@Schema(description = "管理后台 - 附件类型分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class AttachmentTypePageReqVO extends PageParam {

    @Schema(description = "附件类型代码")
    private String attatchTypeCode;

    @Schema(description = "附件类型中文名称")
    private String attatchTypeCodeCn;

    @Schema(description = "附件类型英文名称")
    private String attatchTypeCodeEn;

    @Schema(description = "使用模块")
    private String useModules;

    @Schema(description = "使用功能点")
    private String useFunctions;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime createTime;

    @Schema(description = "文件id")
    private String fileId;

    @Schema(description = "文件是否必传")
    private Boolean requiredStatus;

}
